<script setup>
const appVersion = ref('')
const year = new Date().getFullYear()
onLoad(() => {
    appVersion.value = uni.getSystemInfoSync().appVersion
})
</script>
<template>
    <view class="u-flex u-row-center logoBox u-flex-col">
        <image :src="$getImg('/img/logo/logo.png')"></image>
        <view class="versions" v-if="appVersion">V{{ appVersion }}</view>
    </view>

    <view class="footer">
        <view class="footer-text">ICP备案号:粤ICP备2022146595号-11X</view>
        <view class="footer-text">CopyRight @2022-{{ year }} 广东即见即得数字科技有限公司</view>
    </view>
</template>
<style lang="scss">
.logoBox {
    padding: 70rpx 0;
    font-size: 30rpx;
    color: #333333;

    image {
        width: 168rpx;
        height: 168rpx;
        margin-bottom: 18rpx;
    }
}

.cell {
    padding: 30rpx 36rpx 30rpx 46rpx;
    border-bottom: 1px solid #e5e5e5;
    font-size: 28rpx;
    color: #333333;
}
.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom) + 20rpx);
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 20rpx;
    .footer-text {
        font-size: 26rpx;
        line-height: 36rpx;
        color: #999999;
        text-align: center;
        margin-top: 10rpx;
    }
}
</style>
